Ubuntu 13.04
Sponsored Link

FTP Server - Proftpd
2013/05/13
 
Install ProFTPD to configure FTP server to transfer files.
[1] Install ProFTPD
root@www:~#
aptitude -y install proftpd
# select standalone

 +-------------------------+ ProFTPD configuration +-------------------------+
 | ProFTPD can be run either as a service from inetd, or as a standalone     |
 | server. Each choice has its own benefits. With only a few FTP             |
 | connections per day, it is probably better to run ProFTPD from inetd in   |
 | order to save resources.                                                  |
 |                                                                           |
 | On the other hand, with higher traffic, ProFTPD should run as a           |
 | standalone server to avoid spawning a new process for each incoming       |
 | connection.                                                               |
 |                                                                           |
 | Run proftpd:                                                              |
 |                                                                           |
 |                                from inetd                                 |
 |                                standalone                                 |
 |                                                                           |
 |                                                                           |
 |                                  <Ok>                                     |
 |                                                                           |
 +---------------------------------------------------------------------------+

root@www:~#
vi /etc/proftpd/proftpd.conf
# line 11: turn off if not needed

UseIPv6
off
# line 15: change to your hostname

ServerName
"www"
# line 34: uncomment ( specify root directory for chroot )

DefaultRoot ~
root@www:~#
vi /etc/ftpusers
# add users you prohibit FTP connection

test
root@www:~#
/etc/init.d/proftpd restart

 
Tweet